@import '~antd/lib/style/themes/default.less';

.main{
  padding: 24px;
  background: #fff;
  @media screen and (max-width: @screen-sm) {
    padding: 0;
  }
  .qdetailInfo{
    background: #F5F5F5;
    padding: 12px;
    .qtitle{
      font-size: 16px;
      color: #333;;
      .qicon{
        margin-right: 8px;
        font-size: 14px;
        padding: 4px 2px;
        background: #CFCFCF;
        color: #fff;
      }
    }
    .qTime{
      padding-top: 12px;
      font-size: 14px;
      color: #9E9E9E;
      .view_wrapper{
        margin-left: 36px;
        .view{
          color: #139BEA;
          margin-right: 4px;
        }
      }
      .heart_wrapper{
        margin-left: 16px;
        .heart{
          color: #139BEA;
          margin-right: 4px;
          cursor: pointer;
        }
      }
    }
  }
  
  .title_wrapper{
    margin-top: 24px;
    margin-bottom: 12px;
    .answer_avatar{
      width: 32px;
      border-radius: 50%;
      padding-left: 8px;
      padding-right: 8px;
      box-sizing: content-box;
    }
    .title{
      margin-left: 8px;
      font-size: 14px;
      display: inline-block;
    }
  }
  .img_wrapper{
    padding-left: 32px;
    padding-right: 32px;
    box-sizing: border-box;
    img{
      max-width: 100%;
    }
  }
  .qDetail{
    text-indent: 2.2em;
    margin: 10px 0;
    @media screen and (max-width: @screen-sm) {
      text-indent: 0;
      padding-left: 8px;
      padding-right: 8px;
    }
    img{
      max-width: 100%;
    }
  }
  .answer{
    margin-bottom: 16px;
    padding-left: 8px;
    padding-right: 8px;
    *{
      word-wrap: break-word;
    }
  }
  .operator{
    margin-bottom: 12px;
    padding-left: 8px;
    box-sizing: border-box;
    .icon_wrapper{
      font-weight: 550;
      margin-right: 20px;
      cursor: pointer;
      .icon{
        margin-right: 4px;
        color: #aaa;
        font-size: 18px;
      }
      .iconSelected{
        margin-right: 4px;
        color: #139BEA;
        font-size: 18px;
      }
    }
  }
  .answer_btn{
    padding-top: 16px;
    padding-bottom: 16px;
    border-top: 8px solid #F7F8F9;
    border-bottom: 2px solid #F7F8F9;
    font-size: 15px;
    .answer_center{
      text-align: center;
      cursor: pointer;
      .icon{
        margin-right: 8px;
      }
    }
  }
  .comment_wraper{
    padding: 32px 56px;
    margin-bottom: 30px;
    box-sizing: border-box;
    background: #fafafa;
    @media screen and (max-width: @screen-sm) {
      padding: 8px;
    }
    .flex_wrapper{
      display: flex;
      .flex_left{
        width: 32px;
        height: 32px;
        border-radius: 50%;
      }
      .flex_right{
        flex: 1 1 auto;
        margin-left: 8px;
        .textarea{
          resize: none;
        }
        .comment_btn_wrapper{
          text-align: right;
          margin-top: 12px;
          .cancle_comment{
            font-size: 16px;
            color: #aaa;
          }
          .comment{
            margin-left: 12px;
            width: 72px;
            border-radius: 20px;
          }
        }
      }
      
    }
  }
  .btn_wrapper{
    padding-left: 32px;
    padding-right: 32px;
    margin-top: 24px;
    margin-bottom: 12px;
    @media screen and (max-width: @screen-sm) {
      padding-left: 0;
      padding-right: 0;
    }
  }
  .form_box{
    padding-left: 8px;
    padding-right: 8px;
    margin-top: 12px;
    margin-bottom: 24px;
    .formitem{
      margin-bottom: 0;
    }
    .align_right{
      text-align: right;
      .submit{
        border-radius: 20px;
      }
    }
    .my_editor {
      margin-top: 16px;
      border: 1px solid #d1d1d1;
      border-radius: 5px;
      .height{
        height: 240px;
      }
    }
  }
}